import Vue from 'vue'
// 遮罩层
const zIndex = {
	mask: 998,
	popup: 999,
	loading: 998,
	navbar: 997
}
const colorTheme = '#74BEFF'
const colorThemeInfo = '#f5f5f5'
// 项目请求后台地址
const apiBase = process.env.NODE_ENV === 'development' ? 'https://demo.qzjieyun.com' : 'https://demo.qzjieyun.com'
// 项目请求图片地址
const apiImg = apiBase + '/mobile/images'

// 项目tabBar
const tabRouter = [
	'/pages/cart/index',
	'/pages/index/index',
	'/pages/user/index',
	'/pages/news/index'
] 

Vue.prototype.$i = {
	zIndex,
    apiImg,
    apiBase,
    tabRouter,
    colorTheme,
    colorThemeInfo
}


export default {
	zIndex,
    apiImg,
    apiBase,
    tabRouter,
    colorTheme,
    colorThemeInfo
}